main()
{
	int i,j;
	input j;
	for(i=0;i<j;i=i+1)
	{
		if(i>10)
		{
			output "break";
			break;
		}
		output i; 
	}
	output "\n";

	for(i=0;i<j;i=i+1)
	{
		if(i==10)
		{
			output "continue";
			continue;
		}
		output i; 
	}
	output "\n";

}
